package bist.believeinstep.domain;

import java.sql.Date;
import java.sql.Timestamp;

import bist.believeinstep.util.Constant.Role;
import bist.believeinstep.util.Constant.State;


public class User extends BaseInfo{
	
	private Integer id;
	private String code;
	private String name;
	private Date dob;
	private Boolean gender;
	private String identifyCode;
	private Date identifyDate;
	private String identifyPlace;
	private String email;
	private String address;
	private String phone;
	private String cellphone;
	private String username;
	private String password;
	private String pseudonym;
	private Role role;
	private State state;
	private Timestamp created;
	private Timestamp modified;
	private String createdBy;
	private String modifiedBy;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getDob() {
		return dob;
	}

	public void setDob(Date dob) {
		this.dob = dob;
	}

	public Boolean getGender() {
		return gender;
	}

	public void setGender(Boolean gender) {
		this.gender = gender;
	}

	public String getIdentifyCode() {
		return identifyCode;
	}

	public void setIdentifyCode(String identifyCode) {
		this.identifyCode = identifyCode;
	}

	public Date getIdentifyDate() {
		return identifyDate;
	}

	public void setIdentifyDate(Date identifyDate) {
		this.identifyDate = identifyDate;
	}

	public String getIdentifyPlace() {
		return identifyPlace;
	}

	public void setIdentifyPlace(String identifyPlace) {
		this.identifyPlace = identifyPlace;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPseudonym() {
		return pseudonym;
	}

	public void setPseudonym(String pseudonym) {
		this.pseudonym = pseudonym;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

	@Override
	public Timestamp getCreated() {
		return created;
	}
	
	@Override
	public void setCreated(Timestamp created) {
		this.created = created;
	}
	
	@Override
	public Timestamp getModified() {
		return modified;
	}
	
	@Override
	public void setModified(Timestamp modified) {
		this.modified = modified;
	}
	
	@Override
	public String getCreatedBy() {	
		return createdBy;
	}
	
	@Override
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	
	@Override
	public String getModifiedBy() {
		return modifiedBy;
	}
	
	@Override
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
}
